﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace DingTalkAgent.Model
{
    //字典条目
    public class Dictionary
    {

        /// <summary>
        /// 编号
        /// </summary>		
        public int Dic_ID
        {
            get;
            set;
        }
        /// <summary>
        /// 代码
        /// </summary>		
        public string Code
        {
            get;
            set;
        }
        /// <summary>
        /// 父级，一般只设置为2级
        /// </summary>		
        public int Parent_ID
        {
            get;
            set;
        }
        /// <summary>
        /// 父级，一般只设置为2级
        /// </summary>		
        public string ParentName
        {
            get;
            set;
        }
        /// <summary>
        /// 条目名称
        /// </summary>		
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// 排序编号
        /// </summary>		
        public int OrderID
        {
            get;
            set;
        }
        /// <summary>
        /// Active
        /// </summary>		
        public bool Active
        {
            get;
            set;
        }
        /// <summary>
        /// 备注
        /// </summary>		
        public string Remark
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public string text
        {
            get;
            set;
        }
        /// <summary>
        /// 子集
        /// </summary>
        public List<Dictionary> children
        {
            get;
            set;
        }
        /// <summary>
        /// 开关状态
        /// </summary>
        public string state
        {
            get;
            set;
        }

        public bool @checked
        {
            get;
            set;
        }

    }
}